Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set environment when running git commands #3103

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

pkwarren
Copy link
Member

Git commands often need to shell out to other commands, and so running consistently with the environment set (in particular PATH) fixes issues running in certain environments.

Additionally, wrap a few errors to make it easier to determine the reason for failures with the --git-metadata flag.

Git commands often need to shell out to other commands, and so running
consistently with the environment set (in particular PATH) fixes issues
running in certain environments.

Additionally, wrap a few errors to make it easier to determine the
reason for failures with the --git-metadata flag.
@pkwarren pkwarren merged commit bbebe8a into main Jun 21, 2024
11 checks passed
@pkwarren pkwarren deleted the pkw/BSR-4135-set-env-when-running-git branch June 21, 2024 15:37
emcfarlane added a commit to bufbuild/buf-action that referenced this pull request Jun 26, 2024
Set the min supported version of buf to v1.34.0. This pulls in the
required change bufbuild/buf#3103 for better
compatibility with different environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants